package com.gzq.bridge.example1;

public class TestBridge1 {

    public static void main(String[] args) {
        ProductHouse house = new ProductHouse();
        CorpHouse corpHouse = new CorpHouse(house);
        corpHouse.makeMoney();

        System.out.println("\n");

        CorpShaiZhai shaiZhaiCorp = new CorpShaiZhai(new ProductIPod());
        shaiZhaiCorp.makeMoney();

    }

}
